package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.Classification;

@Repository
public interface ClassificationDAO {
	public Set<Classification> findAllClassifications();

	public Set<Classification> findAllClassificationsOfBT();

	public Classification findClassificationById(Integer id);

	public Classification findClassificationByName(String name);

	public Integer addClassification(Classification classification);

	public Integer updateClassification(Classification classification);

	public Integer deleteClassificationById(Integer id);
}
